package com.boot.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 购物车表(Cart)表实体类
 *
 * @author makejava
 * @since 2023-07-20 18:48:25
 */
@Data
@Accessors(chain = true)
public class Cart implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户id
    private Integer uId;
    //商品id
    private Integer pId;
    //商品数量
    private Integer pCount;
}

